#ifndef IMAGEPROCESS_H
#define IMAGEPROCESS_H



#include <QThread>
#include <QImage>
#include <QPixmap>
#include <QtDebug>
#include "faceprocessor.h"
#include <opencv2/opencv.hpp>


using namespace std;
using namespace cv;

class ImageProcess: public QThread
{
    Q_OBJECT
public:
    ImageProcess(QObject *parent);
    void setLittlePicture(cv::Mat pic);
    FaceProcessor processor;

protected:
    void run();

private:
    cv::Mat littlePicture;

signals:
    void display(cv::Mat frame);
    void display(QString txt,quint8 type);


};

#endif // IMAGEPROCESS_H
